﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EngineLayer.Model
{
    public class LibraryEntity
    {
        private bool isEditable = false;

        public bool BeginEdit
        {
            set { isEditable = true; }
            get { return isEditable; }
        }
        public bool EndEdit
        {
            set
            {
                //perform commit
                isEditable = false;
            }
            get { return isEditable; }
        }

    } 

    public sealed partial class Library
    {
      //permissions
        private MyApplication application;
       
        internal Library(MyApplication app)
        {
            this.application = app;    
            
        }

       public event EventHandler Changed;
   
    }
}
